/*Hdip Project 2013-14, Student Name:- Chris Pembroke,  Student Number:- x00115839*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Exercise1Project.Models
{
    public interface IBikeServiceBusinessLogic
    {
        IEnumerable<BikeService> GetAllBikeServices();  // ADMIN - get whole table of bike services mostly for the admin searches 
        IEnumerable<BikeService> GetAllBikeServicesByBikeInShopStatus(string bikeinshopstatus); // ADMIN - return all bike services with selected bike in shop status
        IEnumerable<BikeService> GetAllBikeServicesByServiceStatus(string bikeservicestatus); // ADMIN - return all services matching the selected bike service status
        IEnumerable<BikeService> GetAllBikeServicesByInShopAndServiceStatus(string bikeservicestatus, string bikeinshopstatus); // ADMIN - return all services matching the selected bike service status plus matching bike in shop status
        IEnumerable<BikeService> GetBikeServiceByBikeID(int id); // index or list all bikeServices for a given customer bicycle  by bike id (int id is BikeId)
        IEnumerable<BikeService> returnAdminSearchQuery(BikeService model); //returns the bike service list for the selected search criterion
        bool AddBikeService(BikeService bikeServiceToAdd);   // create  (add a new service to list) crud  C
        bool UpdateBikeService(BikeService bikeServiceToUpdate);  //update or U of crud
        bool RemoveBikeService(int id);       // delete (remove a bikeservice from existing list) crud R
        BikeService GetBikeServiceByServiceId(int id);              // get a particurlar bikeservice from the list of bikeservicees
      
    }
}